<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<%@include file="/views/common/include/taglib.jsp"%>
<%@include file="/views/common/include/head.jsp"%>
<link rel="stylesheet" href="${ctx}/css/page/header2.css" type="text/css">
<link rel="stylesheet" href="${ctx}/css/page/reset.css" type="text/css">
<link rel="stylesheet" href="${ctx}/css/page/leftList.css" type="text/css">
<link rel="stylesheet" href="${ctx}/css/page/xqxq.css" type="text/css">
<link rel="stylesheet" href="${ctx}/css/page/page.css" type="text/css">
<link rel="stylesheet" href="${ctx}/css/page/footer.css" type="text/css">
<script type="text/javascript">
	var ctx = '${ctx}';
</script>
</head>
<body>
    <jsp:include page="/views/common/head_main.jsp" />
	<div class="bg">
	<input type="hidden" id="item" value="${sessionScope.item_information}"/>
		<div class="contentbox contentbox1">
			<div class="padd1" style="padding: 20px 0 0 0;">
				<div class="left-list">
					<ul>
						<li class="all"><a href="${ctx}/noticeInfo/noticeInfoList"><img style = "top: 19px;" class="font-icon" src="${ctx}/images/news/xq7.png">全部<span class="fuhao fh-color">∨</span></a></li>
						<li class="sub-list"><a href="${ctx}/noticeInfo/noticeInfoList"><img class="font-icon" src="${ctx}/images/news/xq8.png">小区通知 <span class="fuhao">＞</span></a></li>
						<li class="sub-list"><a href="${ctx}/cellManual/cellManualList"><img class="font-icon" src="${ctx}/images/news/xq9.png">社区政务<span class="fuhao">＞</span></a></li>
						<li class="sub-list"><a href="${ctx}/yellowPage/yellowPageList"><img class="font-icon" src="${ctx}/images/news/xq9.png">便民黄页<span class="fuhao">＞</span></a></li>	
					</ul>
				</div>
				<div class="rightbox">
					<div class="padd2">
						<div class="title">
                       	 	<div class="picdivdetail">
								<!-- 通知logo -->
	                        	<c:if test="${not empty noticeInfo.logo}">
	                       	 		<img class="picradiodetail" src="${sessionScope.image_logo}${noticeInfo.logo}"/>
	                       	 	</c:if>
	                       	 	<!-- 默认通知logo -->
	                        	<c:if test="${empty noticeInfo.logo}">
	                       	 		<img class="picradiodetail" src="${ctx}/images/news/noticeInfo/default.png"/>
	                       	 	</c:if>
	                        </div>
							<div class="title-content">
								<p><%-- <span  class="text-color">${noticeInfo.userAccount}&nbsp;&nbsp;</span>发布 --%><span  class="text-color">《${noticeInfo.title}》</span><span class="time">&nbsp;&nbsp;(<fmt:formatDate value="${noticeInfo.updateTime}" pattern="yyyy-MM-dd"/> )</span></p>
								<p>浏览量：${noticeInfo.readAccount}</p>
							</div>
						</div>
						<div class="text-content">
							<h5>${noticeInfo.title}</h5>
							<div>
								${noticeInfo.content}
							</div>
							<div class="page" style="width:745px">
								<span style="cursor: pointer;" class="return" onclick="Back();">&lt;&lt;&nbsp;返回</span>
								<ul>
									<li><a class="last-page page-change " href="${ctx}/noticeInfo/lastOrNextOne?id=${noticeInfo.id}&flag=0">上一篇</a></li>
									<li><a class="next-page page-change" href="${ctx}/noticeInfo/lastOrNextOne?id=${noticeInfo.id}&flag=1">下一篇</a></li>
								</ul>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<jsp:include page="/views/common/footer.jsp" />
	<script type="text/javascript">
	function Back() {
		window.location.href = ctx +"/noticeInfo/noticeInfoList" ;
// 		window.history.go(-1);
// 		location.href=document.referrer;
// 		window.location.reload();    //刷新 
	}
	</script>
</body>
</html>